package com.ct.application.sysrmenus.request;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysMenusSaveRequest {
    //父菜单ID
    private Long parentId;

    //路由path
    private String path;

    //路由name 用于国际化处理
    private String name;

    //是否隐藏 1显示 0隐藏
    private Integer hidden;

    //排序标记
    private Integer sorted;

    //对应前端文件路径
    private String icon;

    //菜单名称
    @NotBlank(message = "菜单名称不能为空")
    private String title;
}
